<template>
	<view>
		<web-view :src="playUrl"></web-view> 
	</view>
</template>

<script>
	export default {
			data() {
				return {
					playUrl: '',
					parseUrls:[
						'http://api.bbbbbb.me/jx/?url=',
						'http://jx.itaoju.top/?url=',
						'http://000o.cc/jx/ty.php?url='
					]
				};
			},
			onLoad(e) {
				console.log('play:' + e.url);
				//let url = JSON.parse(e.url);
				this.playUrl = this.parseUrls[0] + encodeURIComponent(e.url);
			},
	
			onNavigationBarButtonTap(e) {
				console.log( 'curl:'+ this.curUrl);
				this.playWebview.load(this.parseUrls[0] + this.curUrl);
			},
			
			methods: {
				handleMessage(e) {
					console.log('hihhh');
					console.log('接收到的消息：' + JSON.stringify(e));
				}
			}
		}
</script>

<style>

</style>
